﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model.Platform.PhysicalData
{
    [Table("ExceptionLog")]
    public class ExceptionLog
    {
        /// <summary>
        ///     主键
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid Id { get; set; }

        /// <summary>
        ///    异常内容
        /// </summary>
        public String ExMag { get; set; }

        /// <summary>
        ///     异常级别
        /// </summary>
        public Int32 Level { get; set; }

        /// <summary>
        ///     状态：已处理、未处理、正在处理
        /// </summary>
        public Int32 Status { get; set; }

        /// <summary>
        ///     责任人
        /// </summary>
        public String Responsible { get; set; }

        /// <summary>
        ///     备注：可考虑内容格式 方便记录每次备注
        /// </summary>
        public String Remark { get; set; }

        /// <summary>
        ///     发生时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        ///     其他信息
        /// </summary>
        public String OtherInfo { get; set; }
    }
}